package com.spring.demo01.config;

import com.spring.demo01.MyService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyConfiguration {

	@Bean
	public MyService myService(){
		return new MyService("helloworld");
	}
}
